import request from '@/utils/request'

export default{
login(username,password){
  return request({
    url:`/user/getUserBean/?keywords=${username}&keywords2=${password}`,
    method:'get'
  })
},
getInfo(token){
  return request({
    url:'/user/info',
    method:'get',
    params:{ token }
  })
},
}
